ComponentOne PDF for .NET
FillPolygon(Color,PointF[],FillMode) Method

C1.C1Pdf.4 Assembly > C1.C1Pdf Namespace > C1PdfDocument Class > FillPolygon Method : FillPolygon(Color,PointF[],FillMode) Method
The color used to fill the polygon.
Array of point structures that represent the vertices of the polygon.
System.Drawing.Drawing2D.FillMode parameter that determines how to handle overlapping areas within the polygon.
Fills a polygon defined by an array of point structures using the specified fill mode.
Syntax
'Declaration
 
Public Overloads Sub FillPolygon( _
   ByVal color As System.Drawing.Color, _
   ByVal points() As System.Drawing.PointF, _
   Optional ByVal fillMode As System.Drawing.Drawing2D.FillMode _
) 
public void FillPolygon( 
   System.Drawing.Color color,
   System.Drawing.PointF[] points,
   System.Drawing.Drawing2D.FillMode fillMode
)

Parameters

color
The color used to fill the polygon.
points
Array of point structures that represent the vertices of the polygon.
fillMode
System.Drawing.Drawing2D.FillMode parameter that determines how to handle overlapping areas within the polygon.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.
See Also

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List